package com.jic.manager.service;

import com.jic.common.base.vo.PageResult;
import com.jic.manager.entity.SysNotice;
import com.jic.conf.request.SysNoticeRequest;
import com.jic.manager.response.SysNoticeResponse;

import java.util.List;

/**
* 公告记录
* @author : 
* @email : 
* @since : 2020-02-26 07:22:01
* @version : v1.0.0
*/
public interface SysNoticeService {

    long insert(SysNoticeRequest sysNoticeRequest) throws Exception;

    long delete(Long id);

    long update(SysNoticeRequest sysNoticeRequest) throws Exception;

    SysNotice queryByPrimaryKey(Long id);

    List<SysNotice> query(SysNotice sysNotice);

    PageResult<SysNotice> queryPage(SysNoticeRequest sysNoticeRequest);

    List<SysNoticeResponse>  getTimeSort();

    Integer setaudit(SysNoticeRequest request);


}